package com.itheima.reggie.service;

import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.dto.DishDto;

/**
 * @author:YZN
 * @date:2022/12/31
 * @description:
 */
public interface DishService {
    R addDish(DishDto dishDto);

    R findPage(Integer page, Integer pageSize, String name);

    R findById(Long id);

    R modify(DishDto dishDto);

    R list(Long categoryId);

    R delete(Long[] ids);

    R status(Integer type, Long[] ids);
}
